﻿using System;

namespace JanusLibAing.AutoSave
{
    public class AutoSaveEventArgs : EventArgs
    {
        private bool cancel = false;

        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="AutoSaveEventArgs"/> is cancel.
        /// When set no data storage is happens
        /// </summary>
        /// <value><c>true</c> if cancel; otherwise, <c>false</c>.</value>
        public bool Cancel
        {
            get { return cancel; }
            set { cancel = value; }
        }
    }
}